package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * <p>
 * 
 * </p>
 *
 * @author mengyb
 * @since 2019-04-18
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("MMRM_T")
public class MmrmT extends PO<MmrmT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "MMRMENT", type = IdType.INPUT)
    private String MMRMENT;

    private String MMRM001;

    private String MMRM002;

    private String MMRMACTI;
    @TableField(fill = FieldFill.INSERT)
    private String MMRMUSER;
    @TableField(fill = FieldFill.INSERT)
    private String MMRMGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String MMRMMODU;
    @TableField(fill = FieldFill.INSERT)
    private String MMRMTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate MMRMDATE;
    @TableField(fill = FieldFill.INSERT)
    private String MMRMORIG;
    @TableField(fill = FieldFill.INSERT)
    private String MMRMORIU;



    @Override
    protected Serializable pkVal() {
        return this.MMRMENT;
    }

}
